Prevent the destruction of the menu label on page removal
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Mon, 22 Mar 2010 18:11:05 +0000 (14:11 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Mon, 22 Mar 2010 18:11:05 +0000 (14:11 -0400)
commita957d4593e80f643c8de58c49542f69346a4a1fc
tree238a2142744c5ef9eec430583ae026a41b3c723f
parent3c7b29098ca0c2074ab5e20b9fe661954c7741a7
Prevent the destruction of the menu label on page removal

In certain cases the menu label of a notebook page will be reused after the
page was removed from the notebook, for instance when a page is dragged from
one notebook to another. For such cases make sure that the menu label isn't
destroyed as part of destroying the menu item it was in.
gtk/gtknotebook.c